﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace UCenter.PluginFramework
{
    public interface IPlugInHost
    {
        void Load();

        void UnLoad();

        PlugInCollection Extensions { get; set; }

        event EventHandler<EventArgs> PreLoad;

        event EventHandler<EventArgs> LoadComplete;

        event EventHandler<EventArgs> PreUnLoad;

        event EventHandler<EventArgs> UnLoadComplete;

        event EventHandler<EventArgs> LoadFailed;
    }
}
